home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.cs.ubc.ca!bcsystems!bcsystems!nntp
- Newsgroups: comp.lang.rexx
- Subject: Re: Newbie: numerics in REXX
- Message-ID: <1995Dec31.215424.7370@venus.gov.bc.ca>
- From: dafriese@net.gov.bc.ca
- Date: 31 Dec 95 21:54:24 PST
- Reply-To: dafriese@net.gov.bc.ca
- References: <DKBLIu.22B@rockyd.rockefeller.edu> <4bvhu3$nc5@merlin.delphi.com>
- Nntp-Posting-Host: vicsd218.dial.gov.bc.ca
- X-Newsreader: IBM NewsReader/2 v1.2.5
-
- In <4bvhu3$nc5@merlin.delphi.com>, Jeff Hennick <jhennick@mci.newscorp.com> writes:
- >dan@pendragon.rockefeller.edu (Dan Samber) wrote:
- >>
- >>data = "1"x /* this is hex 1 same as decimal 1 or binary 1 */
- > ^^^^^^^^^
- >NO, it is NOT decimal 1, it is the _character_ for hex 1. Decimal 1 is
- >the character "1", considerably different and it depends on the character
- >set being used by your system, ASCII, EBCDIC, etc.
- >
-
- As an aside, the numeric hex for 1 is 1x or 0001x.
-
- Compare "6565"x and 6565x and see what you get.
-